CreateUiDefinition sandbox issue with validation in editable grid

Tim James 46 Reputation points
2021-12-03T04:30:33.393+00:00

I have the following validation for a textbox element in an editable grid.

{
"isValid": "[greaterOrEquals(last(take(steps('clusterDetails2').storageVolumes, $rowIndex)).volumeSize, 100)]",
"message": "volume size should be 100GB or more"
}

The first row in the editable grid cannot properly run this validation. Whatever is in the text box, it turns red, but without the validation message being issued. From the second row onwards the validation works as it should, i.e a green tick for good, validation message for bad.

154660-image.png

154691-image.png

This seems to be a bug in the CreateUiDefinition sandbox. Can anyone get this working?

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
149 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 21,386 Reputation points
    2021-12-20T06:03:13.74+00:00

    Hi @Tim James

    Thanks again for bringing it to our attention!

    The fix for the issue will be available in January next year, after the holidays.

    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.