Hello,
I wonder if there is a Spec widget to hold non-editable multi-line text? There is TextInputFieldModel but the text is editable. Thanks in advance, Julien |
Hello Julien,
have you tried configuring it with enabled: false ? > On Feb 24, 2016, at 13:24, Julien Delplanque <[hidden email]> wrote: > > Hello, > > I wonder if there is a Spec widget to hold non-editable multi-line text? > > There is TextInputFieldModel but the text is editable. > > Thanks in advance, > > Julien > > ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile |
Hi, Thank you it works as expected :) Maybe this should be documented in the class comment of TextInputFieldModel? Regards, Julien On Wed, Feb 24, 2016 at 7:49 PM, Johan Fabry <[hidden email]> wrote: Hello Julien, |
This is a feature of AbstractWidgetModel, so it applies to all widgets (buttons, texts, selects, ...). Peter |
Indeed but I mean, I was not able to deduce the fact that to have a
widget holding not-editable multi-line text I have to use TextInputFieldModel and use #enabled: message... But maybe there is already documentation about that? Julien On 25/02/16 09:58, Peter Uhnák wrote: >> Maybe this should be documented in the class comment of >> TextInputFieldModel? >> > This is a feature of AbstractWidgetModel, so it applies to all widgets > (buttons, texts, selects, ...). > > Peter > |
I'm sure it's documented somewhere… in any case new Spec documentation is emerging so let's not forget to make sure it's there. Peter On Thu, Feb 25, 2016 at 10:49 AM, Julien Delplanque <[hidden email]> wrote: Indeed but I mean, I was not able to deduce the fact that to have a widget holding not-editable multi-line text I have to use |
Nice, can't wait to read it :)
Julien On 25/02/16 10:58, Peter Uhnák wrote: > I'm sure it's documented somewhere… in any case new Spec documentation is > emerging so let's not forget to make sure it's there. > > Peter > > On Thu, Feb 25, 2016 at 10:49 AM, Julien Delplanque <[hidden email]> > wrote: > >> Indeed but I mean, I was not able to deduce the fact that to have a widget >> holding not-editable multi-line text I have to use >> >> TextInputFieldModel and use #enabled: message... >> >> But maybe there is already documentation about that? >> >> Julien >> >> >> >> On 25/02/16 09:58, Peter Uhnák wrote: >> >>> Maybe this should be documented in the class comment of >>>> TextInputFieldModel? >>>> >>>> This is a feature of AbstractWidgetModel, so it applies to all widgets >>> (buttons, texts, selects, ...). >>> >>> Peter >>> >>> >> |
In reply to this post by Julien Delplanque
Le 25/2/16 08:15, Julien Delplanque a
écrit :
please send a change. Stef
|
In reply to this post by Julien Delplanque
Julien
we should create a simple chapter with questions/answers and we capture there such knowledge. Stef Le 25/2/16 11:30, Julien Delplanque a écrit : > Nice, can't wait to read it :) > > Julien > > On 25/02/16 10:58, Peter Uhnák wrote: >> I'm sure it's documented somewhere… in any case new Spec >> documentation is >> emerging so let's not forget to make sure it's there. >> >> Peter >> >> On Thu, Feb 25, 2016 at 10:49 AM, Julien Delplanque <[hidden email]> >> wrote: >> >>> Indeed but I mean, I was not able to deduce the fact that to have a >>> widget >>> holding not-editable multi-line text I have to use >>> >>> TextInputFieldModel and use #enabled: message... >>> >>> But maybe there is already documentation about that? >>> >>> Julien >>> >>> >>> >>> On 25/02/16 09:58, Peter Uhnák wrote: >>> >>>> Maybe this should be documented in the class comment of >>>>> TextInputFieldModel? >>>>> >>>>> This is a feature of AbstractWidgetModel, so it applies to all >>>>> widgets >>>> (buttons, texts, selects, ...). >>>> >>>> Peter >>>> >>>> >>> > > > |
I totally agree, I will do it and add this one.
Maybe I will also make some research for similar content on the mailing list. Julien On 27/02/16 13:08, stepharo wrote: > Julien > > we should create a simple chapter with questions/answers and we > capture there such knowledge. > > Stef > > Le 25/2/16 11:30, Julien Delplanque a écrit : >> Nice, can't wait to read it :) >> >> Julien >> >> On 25/02/16 10:58, Peter Uhnák wrote: >>> I'm sure it's documented somewhere… in any case new Spec >>> documentation is >>> emerging so let's not forget to make sure it's there. >>> >>> Peter >>> >>> On Thu, Feb 25, 2016 at 10:49 AM, Julien Delplanque <[hidden email]> >>> wrote: >>> >>>> Indeed but I mean, I was not able to deduce the fact that to have a >>>> widget >>>> holding not-editable multi-line text I have to use >>>> >>>> TextInputFieldModel and use #enabled: message... >>>> >>>> But maybe there is already documentation about that? >>>> >>>> Julien >>>> >>>> >>>> >>>> On 25/02/16 09:58, Peter Uhnák wrote: >>>> >>>>> Maybe this should be documented in the class comment of >>>>>> TextInputFieldModel? >>>>>> >>>>>> This is a feature of AbstractWidgetModel, so it applies to all >>>>>> widgets >>>>> (buttons, texts, selects, ...). >>>>> >>>>> Peter >>>>> >>>>> >>>> >> >> >> > > |
Free forum by Nabble | Edit this page |