Hello,
I am new to Grocery Crud. I am working on user module. I want to modify the select box of user type on User Add/ Edit form. User have 2 types, and I took ENUM data type to manage user's type.
Currently I am getting like this
<select id="field-member_type" name="member_type" class="chosen-select chzn-done" data-placeholder="Selectionner Member type">
<option value=""></option>
<option value="u">u</option>
<option value="a">a</option>
</select>
I need output this select box like below
<select id="field-member_type" name="member_type" class="chosen-select chzn-done" data-placeholder="Selectionner Member type">
<option value=""></option>
<option value="u">User</option>
<option value="a">Admin</option>
</select>
I know the callback method but I want to know if there is any other method to achieve this.
Thanks,
Palak