Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /snap/lxd/31333/share/lxd-ui/assets/ |
Upload File : |
import{j as a,d as n}from"./index-13b2882d.js";import{A as s}from"./AutoExpandingTextArea-3a779a81.js";const o=e=>({name:e.name,description:e.description}),u=({formik:e,isEdit:l})=>{const r=e.values.readOnly,t=e.values.name==="default";return a.jsx("div",{className:"details",children:a.jsx(n.Row,{children:a.jsxs(n.Col,{size:8,children:[a.jsx(n.Input,{id:"name",name:"name",type:"text",label:"Profile name",placeholder:"Enter name",help:l&&!t&&"Click the name in the header to rename the profile",onBlur:e.handleBlur,onChange:e.handleChange,value:e.values.name,error:e.touched.name?e.errors.name:null,required:!0,disabled:l}),a.jsx(s,{id:"description",name:"description",label:"Description",placeholder:"Enter description",onBlur:e.handleBlur,onChange:e.handleChange,value:e.values.description,disabled:r,dynamicHeight:!0})]})})})};export{u as P,o as p};