-
|
Am I correct in understanding that the login component's documentation does not include a description of the remember parameter, but it does exist. By the way, the password visibility mode behaves a little strangely: when you exit the field and return, the visibility toggle icon no longer appears. I think it should always be available, as soon as at least one character appears in the field. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
|
There isn’t a Regarding the password visibility behavior: the login component itself doesn’t include a visibility-toggle icon. If you’re seeing one appear only sometimes, that’s most likely coming from your browser or from a browser extension that adds this feature automatically. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
On the page , I found a mention of the parameter in the section:
in the paragraph
But it's not in the component's parameter list, only the parameter for its header—remember_me_text. And I need to get the active value of the checkbox itself. Regarding the visibility toggle, that's a browser issue, not a component issue. Ok. |
Beta Was this translation helpful? Give feedback.
-
|
I updated the docs, hopefully it's clearer now: https://sql-page.com/component.sql?component=login |
Beta Was this translation helpful? Give feedback.
-
|
Okay, I get it. The list simply had username and password parameters, but there are username and password variables. It turns out that the component, in addition to parameters, can set values to an unspecified number of variables, which is a bit confusing. The addition you made clarified the situation, but the next question arises: which variables can other components set? Or is the login component unique? I thought of components as objects with properties, some of which can return values, but that was an incorrect assumption. |
Beta Was this translation helpful? Give feedback.
-
|
When using the login component, I didn't explicitly create the username , password , and remember variables using the SET command. The only way I understand it is that the component does create them, but indirectly, by declaring input fields in the page sent to the end user's browser, which in turn, via a GET or POST command, returns them as named values, which SQLPage allows using as variables. Right? |
Beta Was this translation helpful? Give feedback.
I updated the docs, hopefully it's clearer now: https://sql-page.com/component.sql?component=login