UI updation in Create and Update Service and Infra projects.

This commit is contained in:
Kartik Sharma 2025-12-03 11:30:41 +05:30
parent 06ac8099ed
commit 214a416deb
2 changed files with 4 additions and 4 deletions

View File

@ -183,7 +183,7 @@ const ManageServiceProject = ({ serviceProjectId, onClose }) => {
<span className="danger-text">{errors.shortName.message}</span> <span className="danger-text">{errors.shortName.message}</span>
)} )}
</div> </div>
<div className="col-12 col-md-6 mb-2"> <div className="col-12 col-md-6">
<Label htmlFor="name" required> <Label htmlFor="name" required>
Select Status Select Status
</Label> </Label>
@ -200,7 +200,7 @@ const ManageServiceProject = ({ serviceProjectId, onClose }) => {
<span className="danger-text">{errors.statusId.message}</span> <span className="danger-text">{errors.statusId.message}</span>
)} )}
</div> </div>
<div className="col-12 mb-2"> <div className="col-12 mb-2">
<SelectMultiple <SelectMultiple
options={data?.data} options={data?.data}
isLoading={isLoading} isLoading={isLoading}
@ -297,7 +297,7 @@ const ManageServiceProject = ({ serviceProjectId, onClose }) => {
)} )}
</div> </div>
</div> </div>
<div className="d-flex justify-content-end gap-4"> <div className="d-flex justify-content-end gap-4 mt-4">
<button <button
className="btn btn-sm btn-outline-secondary" className="btn btn-sm btn-outline-secondary"
disabled={isPending || isUpdating} disabled={isPending || isUpdating}

View File

@ -154,7 +154,7 @@ const SelectMultiple = ({
className="multi-select-dropdown-container" className="multi-select-dropdown-container"
style={{ position: "relative" }} style={{ position: "relative" }}
> >
<label className="form-label mb-1">{label}</label> <label className="form-label mb-0">{label}</label>
<Label className={name} required={required}></Label> <Label className={name} required={required}></Label>
<div <div