A Spec widget to hold non-editable multi-lines text?
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 <julien@tamere.eu> 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 <jfabry@dcc.uchile.cl> wrote:
Hello Julien,
have you tried configuring it with enabled: false ?
On Feb 24, 2016, at 13:24, Julien Delplanque <julien@tamere.eu> 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
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 <julien@tamere.eu> 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
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 <julien@tamere.eu> 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
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 <julien@tamere.eu> 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 <julien@tamere.eu> 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
Le 25/2/16 08:15, Julien Delplanque a écrit :
Hi,
Thank you it works as expected :) Maybe this should be documented in the class comment of TextInputFieldModel?
please send a change. Stef
Regards,
Julien
On Wed, Feb 24, 2016 at 7:49 PM, Johan Fabry <jfabry@dcc.uchile.cl <mailto:jfabry@dcc.uchile.cl>> wrote:
Hello Julien,
have you tried configuring it with enabled: false ?
> On Feb 24, 2016, at 13:24, Julien Delplanque <julien@tamere.eu <mailto:julien@tamere.eu>> 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 <http://pleiad.cl/%7Ejfabry> PLEIAD and RyCh labs - Computer Science Department (DCC) - University of Chile
participants (4)
-
Johan Fabry -
Julien Delplanque -
Peter Uhnák -
stepharo