greenlight icon indicating copy to clipboard operation
greenlight copied to clipboard

Input your own access code

Open Stoppschildgruen opened this issue 10 months ago • 1 comments

The field for generating the viewers access code is read-only. Is it possible to change this so that you can enter your own code?

Stoppschildgruen avatar Feb 27 '25 14:02 Stoppschildgruen

u can skip the autogenerated stuff from the code. Write ur own Form component and validation logic to get userinput. Add the same validation logic to room.rb model to maintain consistency. Carefully integrate the hook which updates access code in db into ur form control.

U can look how in greenlight form component is created for a simple text input like name field

Thats a good way to fulfill ur requirement.

rautniraj avatar Mar 13 '25 04:03 rautniraj