how to Setting Default Value in Mendix Reference Selector with Editable Option
0
Hello experts, I have a form in my Mendix app where I've implemented a reference selector. When creating a new record, I would like to set "Water" as the default value in the product reference selector. Additionally, I want to give users the option to change this value according to their preference. Could you please help me resolve this issue and suggest some ideas? Thank you in advance!
asked
Pushpendra Nayak
1 answers
1
This can be solved by replacing the default create button with a microflow.
This microflow should be as follows
First activity:
Retrieve object
Database
Entity > referenced entity
Range: first
XPath: [Attribute = 'Water'] (Attribute is attribute used in reference selector for display)