Skip to content

interact : incomplete default string in the input box #4524

@seblabbe

Description

@seblabbe

Using interact in sage 3.1.4, the default string doesn't print completly in the input box. It looks like it prints up to the first character ' found.
The folowing example works well

@interact
def _(a=input_box(default='interact is "cool"',type=str,label='Name:')):
    print a

and it puts interact is "cool" in the input box. But in the next one,

@interact
def _(a=input_box(default="interact is 'cool'",type=str,label='Name:')):
    print a

the default string in the input box is incomplete, it puts only *interact is *. So, we don't know if interact is cool or not !

Component: interact

Keywords: input_box

Issue created by migration from https://trac.sagemath.org/ticket/4524

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions