Closed monochromer closed 4 years ago
Hi, @monochromer !
Thanks for your question! I supposed that name
should be the same as the component name in the code, but I see that custom name would be a nice feature. Also, failing join
without explanation seems to be bad DX, so I'll change it.
As I mentioned before, I'm on vacation right now, so it's going to take some time.
Hi @monochromer !
Sorry for the long answer.
Uibook supports Cyrillic name
now. Also I fixed coverting from CamelCase to space-separated component name.
I'm going to get rid of name
key in Uibook Page at all. It must be the same as key in Uibook Controller, so it is duplicated for no reason. Hope to do it soon :)
export default UibookStarter({
pages: {
Plan,
РадиоКнопочка: RadioButton, // must be the same as `name` prop in Uibook Case
Select
}
})
The name
key passes to Uibook Case automatically now. You can remove name
from all Cases safely.
The key in Uibook Controller represents Page Name since v.0.6.0. You can use any Name in CamelCase.
{
TheBestButton: ButtonUibook,
Agree: CheckboxUibook,
ВсплывающееОкно: PopupUibook
}
Hey, @monochromer ! Have you tried the feature? :)
Not yet. If you you want, you may close this issue.
Closing this issue due to inactivity. It works correctly to me: https://amplifr.com/uikit/#РадиоКнопочка:ru
Thanks for submitting the bug!
I get an error if the page name is typed in non-Latin letters:
Code: