Page 2 of 3
Re: Defining Target ListBoxn
Posted: Tue Oct 03, 2017 11:34 pm
by mcfanda@gmail.com
no joy (yet)
Unable to compile 'mixed.u.yaml':
TermLabel additionalProperty "format" exists in TermLabel when not allowed
Re: Defining Target ListBox
Posted: Tue Oct 03, 2017 11:34 pm
by mcfanda@gmail.com
Unable to compile 'mixed.u.yaml':
TermLabel additionalProperty "format" exists in TermLabel when not allowed
Re: Defining Target ListBox
Posted: Tue Oct 03, 2017 11:35 pm
by mcfanda@gmail.com
Unable to compile 'mixed.u.yaml':
TermLabel additionalProperty "format" exists in TermLabel when not allowed
Re: Defining Target ListBox
Posted: Tue Oct 03, 2017 11:37 pm
by dropmann
The compiler does have issue with this and i'll look into changing it so it doesn't. Let me find you a work around.
Re: Defining Target ListBox
Posted: Tue Oct 03, 2017 11:38 pm
by mcfanda@gmail.com
thanks
Re: Defining Target ListBox
Posted: Thu Oct 05, 2017 9:21 am
by mcfanda@gmail.com
Hi Dropman
any luck with the issue here?
Re: Defining Target ListBox
Posted: Thu Oct 05, 2017 9:51 am
by dropmann
Hi mcfanda,
I have been working on solving some issues related to the compiler which were required for you to move forward. Hopefully i'll have these ready tomorrow. Sorry for the delay, just want to make sure there aren't any unforeseen implications.
Re: Defining Target ListBox
Posted: Thu Oct 05, 2017 9:55 am
by mcfanda@gmail.com
great, thanks a lot
Re: Defining Target ListBox
Posted: Fri Oct 06, 2017 9:16 am
by dropmann
Hi mcfanda,
sorry for the delayed reply. So there were a few issues, one was in the compiler and the other will be fixed in the next jamovi release. In regards to getting you moving forward, i have fixed the issue in the compiler. You can get the updated compiler using
Code: Select all
install.packages('jmvtools', repos='https://repo.jamovi.org')
This compiler will allow you to write the following yaml:
Code: Select all
- type: ListBox
name: randomTerms
valueFilter: unique
isTarget: true
template:
type: Label
format: './rtermFormat'
This yaml will make the items in randomTerms list appear with the correct formatting, however, the feature of striking through the items that have non-existent variables will not be present. The TermsLabel control does have this feature, however, currently the 'format' property of TermsLabel has an issue and will only be fixed with the next release of jamovi.
So for the time being use the above yaml, and it is easily changed in the future.
please let me know if this is confusing or you still have issues.

Re: Defining Target ListBox
Posted: Fri Oct 06, 2017 9:35 am
by dropmann
The padding for the label is slightly bigger but will be resolved next version.