Can I ignore the warnings "twitter bootstrap is overrecated" in my code?

I use the playback platform 2.3.8 with Twitter Bootstrap 3.3.4 and have several forms in my application where you can enter input.

Example:

@import models.Question
@import models.Answer
@import helper._
@import helper.twitterBootstrap._

@(questionForm: Form[Question], questionList: List[Question])

@main("Ask Question"){

    @helper.form(action = routes.Application.sendQuestion()){
        <fieldset>
            @helper.inputText(questionForm("questionID"))
            @helper.inputText(questionForm("questionText"))
            @helper.inputText(questionForm("voteScore"))
            @helper.inputText(questionForm("userID"))
            @helper.inputText(questionForm("page"))
        </fieldset>
        <input type="submit" class="btn btn-default">
    }
}

Now, if I compile, there are a few warnings in the terminal:

[warn]                  @helper.inputText(questionForm("userID"))
[warn]                                   ^
[warn] (...)\frageAntwort.scala.html:22: 
value twitterBootstrapField in package twitterBootstrap is deprecated: 
The twitter bootstrap field constructor will be removed from Play in 2.4 
since the way Bootstrap must be used changes too frequently and too 
drastically between versions for this to make sense to be in the core of Play

I was looking for a warning and found this old SO post and github question .

The SO post mentions that he writes his own template helper, but since my own work, I don't see the need to write it. Can I use mine and ignore warnings, or will I get into trouble later in my productive system or elsewhere? Also, if warnings have no effect, is there a way to hide them?

+1
2

2.3 Play , . , :

Bootstrap Twitter , Play.

, , , Bootstrap , , Play , Bootstrap.

, Bootstrap CSS Plays, .

, , , , Bootstrap, Bootstrap, , .

, . , . , .

+4

Play-Bootstrap Bootstrap 3 Bootstrap 4 Play 2.4 Play 2.5.

SNAPSHOT ,

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies ++= Seq(
  "com.adrianhurt" %% "play-bootstrap" % "1.1-P25-B3-SNAPSHOT"
)

(: https://github.com/adrianhurt/play-bootstrap/blob/master/play25-bootstrap3/sample/build.sbt)

+2

All Articles